package com.bykj.taketurns.fragment;

import android.content.Context;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.bykj.taketurns.R;
import com.bykj.taketurns.activity.PlayVideoActivity;

/**
 * Created by carolina on 2017/8/4.
 * 本类用于展示播放页面侧滑的recyclerview
 */

public class PersonalFragment extends Fragment{
    private PlayVideoActivity mActivity;
    private View mRootView;

    @Override
    public void onAttach(Context context) {
        super.onAttach(context);
        mActivity= (PlayVideoActivity) context;
    }

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        mRootView = View.inflate(mActivity, R.layout.fragment_personal,null);
        return mRootView;
    }

}
